package com.aggregate.pay.sanstar.bean;

import com.aggregate.pay.sanstar.enums.WxFaceSignStatus;
import com.aggregate.pay.sanstar.enums.WxFaceUserStatus;
import com.aggregate.pay.sanstar.jackson.StringDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 微信刷脸用户信息
 * @author Moyq5
 * @date 2020年12月9日
 */
public class WxFace {
	
	/**
	 * 刷脸用户平台id，即微信out_user_id
	 */
	private String faceNo;
	/**
     * [职员]职员编号
     */
    private String stafferNo;
	/**
     * [职员]姓名
     */
    private String name;
    /**
     * [职员]部门、班级或者职务
     */
    private String unit;
    /**
     * [职员]工号、学号
     */
    private String num;
    /**
	 * 机构号，即微信organisation_id
	 */
	private String orgNo;
	/*
	 * 刷脸用户微信user_id
	 */
	private String userNo;
	/**
	 * 刷脸用户状态
	 */
	private WxFaceUserStatus userStatus;
	/**
	 * 扣款签约状态
	 */
	private WxFaceSignStatus signStatus;
	
	/**
     * 配置组号，对应的配置优先于专属setting的配置
     */
    private String groupNo;
    /**
     * 专属配置，JSON结构
     */
    @JsonDeserialize(using = StringDeserializer.class)
    private String setting;
    
    public String getFaceNo() {
        return faceNo;
    }
    public void setFaceNo(String faceNo) {
        this.faceNo = faceNo;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getUnit() {
        return unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    public String getNum() {
        return num;
    }
    public void setNum(String num) {
        this.num = num;
    }
    public String getOrgNo() {
        return orgNo;
    }
    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }
    public String getUserNo() {
        return userNo;
    }
    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }
    public WxFaceUserStatus getUserStatus() {
        return userStatus;
    }
    public void setUserStatus(WxFaceUserStatus userStatus) {
        this.userStatus = userStatus;
    }
    public WxFaceSignStatus getSignStatus() {
        return signStatus;
    }
    public void setSignStatus(WxFaceSignStatus signStatus) {
        this.signStatus = signStatus;
    }
    public String getGroupNo() {
        return groupNo;
    }
    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }
    public String getSetting() {
        return setting;
    }
    public void setSetting(String setting) {
        this.setting = setting;
    }
    public String getStafferNo() {
        return stafferNo;
    }
    public void setStafferNo(String stafferNo) {
        this.stafferNo = stafferNo;
    }
    
}
